package com.turkline.CatchMePolygon;

import com.badlogic.androidgames.framework.math.Rectangle;
import com.badlogic.androidgames.framework.math.Vector2;

public class PathBlock
{
	public Vector2 coordinates;
	public boolean isPath = false;
	public boolean isImportantPath = false;
	public boolean drawMe = false;
	public Rectangle bounds;
	public boolean SW = false;
	public boolean NW = false;
	public boolean NE = false;
	public boolean SE = false;
	
	public float alpha = 1;
	
	public PathBlock(boolean isPath , Vector2 coordinates)
	{
		this.isPath = isPath;
		this.coordinates = coordinates;
		bounds = new Rectangle(coordinates.x-20f, coordinates.y-20, 40, 40);
	}
	
	public void reduceAlpha(float deltaTime)
	{
		alpha += (0-alpha)*deltaTime;
	}
}
